package com.znufe.exam.viewmodel.admin.lecturertitle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "教师职称创建类",description = "需要以下字段创建职称")
public class LecturerTitleCreateVm {

    private Integer id;

    @NotBlank
    @ApiModelProperty(value = "职称名称",name = "titleName",example = "教授")
    private String titleName;
}
